import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'element-ui/lib/theme-chalk/index.css'
import element from './element/index'
import $ from 'jquery'

import 'mars3d-echarts'

Vue.use(element)
Vue.config.productionTip = false

Vue.prototype.ak = { baidu: 'UgxnvZqij9D9YSFiD9dpY4KSQ0InBHVV', gaode: '7dc74cd0f936882bc85d2f79382a63ff' }
Vue.prototype.dataServerUrl = 'localhost:80' // 'ip:port'

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this
  }// 安装全局事件总线
}).$mount('#app')
